{{- partial "css.html" . -}}
<!--JS variable initializations-->
<script>
	var colorBG = {{ $.Site.Params.enableColorBG }}
	var enabledPost = {{ cond (eq $.Site.Params.contentType "post") true false }}
	{{- with $.Site.Params.enableShortest -}}
		var shToken = {{ $.Site.Params.shortestToken }}
		var shDomains = {{ $.Site.Params.shortestDomains }}
	{{ end }}
	var isMobile = ( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) )
	console.log("The client device is a "+(isMobile?"mobile":"PC")+".")
</script>
